package com.chixing.pojo;

import org.springframework.data.annotation.Id;
import org.springframework.data.elasticsearch.annotations.Document;
import org.springframework.data.elasticsearch.annotations.Field;
import org.springframework.data.elasticsearch.annotations.FieldType;

@Document(indexName = "sights")
public class Item {
    @Id
    private Integer travel_sights_id;

    @Field(type = FieldType.Keyword)
    private String travel_sights_no;

    @Field(type = FieldType.Text,analyzer = "ik_max_word")
    private String travel_sights_name;

    @Field(type = FieldType.Text,analyzer = "ik_max_word")
    private String travel_sights_loc_city;

    @Field(type = FieldType.Keyword)
    private Integer travel_sights_level;

    @Field(type = FieldType.Keyword)
    private String travel_sights_describe;

    @Field(type = FieldType.Keyword)
    private Float travel_tickets_price;

    @Field(type = FieldType.Keyword)
    private Float avg_consume;

    @Field(type = FieldType.Keyword)
    private Float travel_sights_score;

    @Field(type = FieldType.Keyword)
    private Integer travel_sights_praise_count;

    @Field(type = FieldType.Keyword)
    private String travel_sights_main_img;

    @Field(type = FieldType.Text,analyzer = "ik_max_word")
    private String travel_sights_type;

    public Item() {
    }

    public Item(Integer travel_sights_id, String travel_sights_no, String travel_sights_name, String travel_sights_loc_city, Integer travel_sights_level, String travel_sights_describe, Float travel_tickets_price, Float avg_consume, Float travel_sights_score, Integer travel_sights_praise_count, String travel_sights_main_img, String travel_sights_type) {
        this.travel_sights_id = travel_sights_id;
        this.travel_sights_no = travel_sights_no;
        this.travel_sights_name = travel_sights_name;
        this.travel_sights_loc_city = travel_sights_loc_city;
        this.travel_sights_level = travel_sights_level;
        this.travel_sights_describe = travel_sights_describe;
        this.travel_tickets_price = travel_tickets_price;
        this.avg_consume = avg_consume;
        this.travel_sights_score = travel_sights_score;
        this.travel_sights_praise_count = travel_sights_praise_count;
        this.travel_sights_main_img = travel_sights_main_img;
        this.travel_sights_type = travel_sights_type;
    }

    public Integer getTravel_sights_id() {
        return travel_sights_id;
    }

    public void setTravel_sights_id(Integer travel_sights_id) {
        this.travel_sights_id = travel_sights_id;
    }

    public String getTravel_sights_no() {
        return travel_sights_no;
    }

    public void setTravel_sights_no(String travel_sights_no) {
        this.travel_sights_no = travel_sights_no;
    }

    public String getTravel_sights_name() {
        return travel_sights_name;
    }

    public void setTravel_sights_name(String travel_sights_name) {
        this.travel_sights_name = travel_sights_name;
    }

    public String getTravel_sights_loc_city() {
        return travel_sights_loc_city;
    }

    public void setTravel_sights_loc_city(String travel_sights_loc_city) {
        this.travel_sights_loc_city = travel_sights_loc_city;
    }

    public Integer getTravel_sights_level() {
        return travel_sights_level;
    }

    public void setTravel_sights_level(Integer travel_sights_level) {
        this.travel_sights_level = travel_sights_level;
    }

    public String getTravel_sights_describe() {
        return travel_sights_describe;
    }

    public void setTravel_sights_describe(String travel_sights_describe) {
        this.travel_sights_describe = travel_sights_describe;
    }

    public Float getTravel_tickets_price() {
        return travel_tickets_price;
    }

    public void setTravel_tickets_price(Float travel_tickets_price) {
        this.travel_tickets_price = travel_tickets_price;
    }

    public Float getAvg_consume() {
        return avg_consume;
    }

    public void setAvg_consume(Float avg_consume) {
        this.avg_consume = avg_consume;
    }

    public Float getTravel_sights_score() {
        return travel_sights_score;
    }

    public void setTravel_sights_score(Float travel_sights_score) {
        this.travel_sights_score = travel_sights_score;
    }

    public Integer getTravel_sights_praise_count() {
        return travel_sights_praise_count;
    }

    public void setTravel_sights_praise_count(Integer travel_sights_praise_count) {
        this.travel_sights_praise_count = travel_sights_praise_count;
    }

    public String getTravel_sights_main_img() {
        return travel_sights_main_img;
    }

    public void setTravel_sights_main_img(String travel_sights_main_img) {
        this.travel_sights_main_img = travel_sights_main_img;
    }

    public String getTravel_sights_type() {
        return travel_sights_type;
    }

    public void setTravel_sights_type(String travel_sights_type) {
        this.travel_sights_type = travel_sights_type;
    }

    @Override
    public String toString() {
        return "Item{" +
                "travel_sights_id=" + travel_sights_id +
                ", travel_sights_no='" + travel_sights_no + '\'' +
                ", travel_sights_name='" + travel_sights_name + '\'' +
                ", travel_sights_loc_city='" + travel_sights_loc_city + '\'' +
                ", travel_sights_level=" + travel_sights_level +
                ", travel_sights_describe='" + travel_sights_describe + '\'' +
                ", travel_tickets_price=" + travel_tickets_price +
                ", avg_consume=" + avg_consume +
                ", travel_sights_score=" + travel_sights_score +
                ", travel_sights_praise_count=" + travel_sights_praise_count +
                ", travel_sights_main_img='" + travel_sights_main_img + '\'' +
                ", travel_sights_type='" + travel_sights_type + '\'' +
                '}';
    }
}
